]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
mixer-control: Document that add_stream is transfer full
authorGuido Günther <agx@sigxcpu.org>
Wed, 31 Dec 2025 14:09:19 +0000 (15:09 +0100)
committerSimon McVittie <smcv@debian.org>
Mon, 9 Feb 2026 10:10:03 +0000 (10:10 +0000)
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Applied-upstream: gnome-shell 49.4, commit:d0e1664ac6278b70a7e26bf8135f0d1d92ee1e9f

Gbp-Pq: Topic libgvc
Gbp-Pq: Name mixer-control-Document-that-add_stream-is-transfer-full.patch

subprojects/gvc/gvc-mixer-control.c

index c7f961349686b8d71662e0baf7ba30781d9f9756..45764849bb2e0c2ffbc6ecbc10b587bd84d72516 100644 (file)
@@ -1189,6 +1189,13 @@ remove_stream (GvcMixerControl *control,
         g_object_unref (stream);
 }
 
+/**
+ * add_stream: (skip)
+ * @control: The control to add the stream to
+ * @stream:(transfer full): The stream to add
+ *
+ * Add a stream to the hash table of all known streams
+ */
 static void
 add_stream (GvcMixerControl *control,
             GvcMixerStream  *stream)